package org.action;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.bean.O2rankscore;
import org.bean.O2rankscorecount;
import org.service.ScoreService;
import org.util.PageBean;

import com.opensymphony.xwork2.ActionSupport;

public class SelectCountScoreAction extends ActionSupport {

	private ScoreService scoreservice;
	private int page;
	private PageBean pageBean;


	@Override
	public String execute() throws Exception {

		if (page == 0) {
			page = 1;
		}

		this.pageBean = scoreservice.queryForPageScoreCount(30, page);
		

			

		return SUCCESS;
	}

	public ScoreService getScoreservice() {
		return scoreservice;
	}

	public void setScoreservice(ScoreService scoreservice) {
		this.scoreservice = scoreservice;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public PageBean getPageBean() {
		return pageBean;
	}

	public void setPageBean(PageBean pageBean) {
		this.pageBean = pageBean;
	}


}
